namespace DbManager.QueryBuilder.DbEntity.Group
{
    public abstract class AEntityGroup :IQuery
    {
        private string _surname;
        private string _name;
        private string _fatherName;
        private int _idGroup;
        private int _id;
        private bool _isChild;

        public string Surname
        {
            get { return _surname; }
            set { _surname = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string FatherName
        {
            get { return _fatherName; }
            set { _fatherName = value; }
        }

        public bool IsChild
        {
            get { return _isChild; }
            set { _isChild = value; }
        }

        public int IDGroup
        {
            get { return _idGroup; }
            set { _idGroup = value; }
        }

        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }

        public abstract string GetSelectQuery();
        public abstract string GetInsertQuery();
        public abstract string GetUpdateQuery();
        public abstract string GetDeleteQuery();
    }
}